DATABASE_URL='postgres://dev:qwe123QWE321@100.64.0.2:5432/dbadm?sslmode=disable'
init-sql:
	migrate create -ext sql -dir sql/postgresql/schema -seq adm-mysql

db-up:
	migrate -source file://sql/postgresql/schema  -database ${DATABASE_URL}  up

db-down:
	migrate -source file://sql/postgresql/schema  -database ${DATABASE_URL}  down

sqlc-gen:
	sqlc generate -f sql/sqlc.yaml

docs-init:
	swag fmt && swag init --parseDependency --parseInternal
docs-fmt:
	swag fmt
